#include <iostream>
#include <sstream>
#include <string>
using namespace std;

class date{
private:
	int y,m,d;
public:
    date(): y(0), m(0), d(0) {}
	int year() const;
	int month() const;
	int day() const {
        return d;
    }
	int day(){
		return d++;
	}
	int addyear(int i){
		return y+i;
	}
};

//int date::month(){ //lineA
//	return m;
//}

int main() {
    const date d;
    int test;
    test = d.year();  //lineB
    test = d.addyear(10); //lineC
    date d2;
    test = d2.year();
    test = d2.day();  //lineD
    return 0;
}

